<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@include file="common/header.jsp"%>


        <!-- /. NAV SIDE  -->
<div id="page-wrapper">
	<div id="page-inner">
		<!-- /. ROW  -->
		

		<!-- /.col-lg-6 (nested) -->
		<div class="col-lg-12">
			<%-- <form role="form" method="post"
            enctype="multipart/form-data" action="${pageContext.request.contextPath }/provider/addsave"> --%>
			<section id="contact" style="background-color: #fff;" class="text-page pb-4">
				<div class="container">
					<div class="row">
						<div class="col-md-12">
							<div class="row">
								<div class="col-md-2">
									<h3 class="heading">
										房型信息表 <span title="添加房型" id="add"><i
											class="glyphicon glyphicon-plus-sign"></i></span>
									</h3>
								</div>

							</div>


							<br />
							<div class="row">
								<div class="col-md-6">
									<form id="contact-form" method="post" action="${pageContext.request.contextPath }/provider/modifyRoomsave"
										class="contact-form" enctype="multipart/form-data">
										<div class="controls">
											<input type="hidden" name="hotelName"
												value="${room.hotelName }">
												<input type="hidden" name="room_id"
												value="${room.room_id }">
											<div class="row">
												<div class="col-md-6">
													<div class="form-group">
														<label for="roomName">房型名字 *</label> <input type="text"
															name="roomName" placeholder="Enter your firstname"
															required="required" class="form-control" value="${room.roomName }">
													</div>
												</div>

												<div class="col-md-6">
													<div class="form-group">
														<label for="rest">剩余数量 *</label> <input type="text"
															name="rest" placeholder="Enter your  lastname"
															required="required" class="form-control" value="${room.rest }">
													</div>
												</div>
											</div>
											<div class="form-group">
												<label for="roomPrice">价格 *</label> <input type="text"
													name="roomPrice" placeholder="￥156.00" required="required"
													class="form-control" value="${room.roomPrice }">
											</div>
											<div class="form-group">
												<label for="roomDesc">描述 *</label>
												<textarea rows="4" name="roomDesc" 
													placeholder="Enter your message" class="form-control">v${room.roomDesc }</textarea>
											</div>
											<div class="form-group" id="div1">
												<label for="pic_Path">展示图片 *</label> <input type="file"
													name="attachs" id="pic_Path" 
													class="form-control" value="${room.pic_Path }">
											</div>
											<div class="text-center">
												<input type="submit" name="name" value="保存提交"
													class="btn btn-outline-primary btn-block">
											</div>
										</div>
									</form>
								</div>
								<br />
								<!-- <div class="col-md-6">
									<br /> <br /> <br />
									<p style="width:350px;height:300px;border: 1px red solid;"
										id="picture"></p>
								</div> -->
							</div>
						</div>
					</div>
				</div>
				
			</section>
    
    		
    
			<!-- </form> -->
		</div>
		<!-- /.col-lg-6 (nested) -->
	</div>
	<!-- /.row (nested) -->
</div>

<footer>
</footer>


    <!-- JS Scripts-->
    <!-- jQuery Js -->
    <%@include file="common/js.jsp"%>
    <script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/rollpage.js"></script>
    <script>
    	
    </script>
    
   
</body>
</html>
